export default [
  {
    id: "1",
    name: "简单计算",
    children: [
      {
        id: "1-1",
        name: "ADD",
        shape: "vue-node",
        description: "加法计算",
        inArr: [
          { paramName: "add1", paramType: "number" },
          { paramName: "add2", paramType: "number" },
        ],
        outArr: [{ paramName: "sum", paramType: "number" }],
      },
      {
        id: "1-2",
        name: "Minus",
        description: "减法计算",
        inArr: [
          { paramName: "minus1", paramType: "number" },
          { paramName: "minus2", paramType: "number" },
        ],
        outArr: [{ paramName: "result", paramType: "number" }],
      },
      {
        id: "1-3",
        name: "Mul",
        description: "乘法计算",
        inArr: [
          { paramName: "mul1", paramType: "number" },
          { paramName: "mul2", paramType: "number" },
        ],
        outArr: [{ paramName: "result", paramType: "number" }],
      },
      {
        id: "1-4",
        name: "Div",
        description: "除法计算",
        inArr: [
          { paramName: "div1", paramType: "number" },
          { paramName: "div2", paramType: "number" },
        ],
        outArr: [{ paramName: "result", paramType: "number" }],
      },
    ],
  },
  {
    id: "2",
    name: "常用节点",
    children: [
      {
        id: "2-1",
        name: "常数",
        description: "这是一个常数",
        inArr: [],
        outArr: [
          {
            paramName: "out",
            paramType: "number",
            writable: true,
            paramRes: 0,
          },
        ],
      },
    ],
  },
];
